const baseURL = 'http://localhost:8000/';

export const UPLOAD_INFO = {
    'NO_FILE': '请先选择文件',
    'INVALID_TYPE': '不支持该类型文件上传！',
    'UPLOAD_ERROR': '上传失败',
    'UPLOAD_SUCCESS': '上传成功'
}

export const ALLOWEB_TYPE = {
    'video/mp4': 'mp4',
    'video/ogg': 'ogg'
}

export const CHUNK_SIZE = 1024 * 64;

export const API  = baseURL + 'upload-video'